package com.vhall.component.service.room.event.handler.notify;

import com.vhall.component.service.room.event.handler.AbstractEventHandler;
import com.vhall.component.service.room.event.handler.EventHandlerType;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

import static com.vhall.component.service.room.event.EventConstant.VHALL_SMS_SEND_COMPLETE;

/**
 * 短信发送完成
 *
 * @author jingwen.li
 * @date 2023/2/16
 */
@Slf4j
@Component
@EventHandlerType(VHALL_SMS_SEND_COMPLETE)
public class PushNotifyEventHandler extends AbstractEventHandler {
    @Override
    public void handle(Map<String, Object> callBack) {
        log.info("收到短信发送完成事件：{}, 事件详情：{}", VHALL_SMS_SEND_COMPLETE, callBack);
    }
}
